home *** CD-ROM | disk | FTP | other *** search
/ PC World 2008 September / PCWorld_2008-09_cd.bin / v cisle / sadanastroju / delicious_bookmarks-2.0.64-fx.xpi / chrome / deliciousBookmarks.jar / content / introWiz.xul < prev    next >
Encoding:
Extensible Markup Language  |  2008-06-19  |  7.0 KB  |  137 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!DOCTYPE wizard SYSTEM "chrome://ybookmarks/locale/introWiz.dtd">
  4.  
  5. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  6. <?xml-stylesheet href="chrome://ybookmarks/skin/introWiz.css" type="text/css"?>
  7. <?xml-stylesheet href="chrome://ybookmarks/skin/overlay.css" type="text/css"?>
  8.  
  9. <wizard id="intro-wizard" title="&yb.wizard;"
  10.   onload="yb_initWizard();"
  11.   onunload="yb_CleanupWizard();"
  12.   onwizardfinish="yb_FinishWizard();"
  13.   onwizardcancel="return yb_CancelWizard();"
  14.     width="610"
  15.     height="420"
  16.   xmlns:html="http://www.w3.org/1999/xhtml"
  17.   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  18.  
  19.   <preferences>
  20.     <preference id="yb-wiz-pref-add-popular" name="extensions.ybookmarks@yahoo." type="string"/>
  21.   </preferences>
  22.  
  23.   <script type="application/x-javascript" src="chrome://ybookmarks/content/json.js" />
  24.   <script type="application/x-javascript" src="chrome://browser/content/utilityOverlay.js"/>  
  25.   <script type="application/x-javascript" src="providerApis.js"/>
  26.   <script type="application/x-javascript" src="ybookmarksUtils.js"/>
  27.   <script type="application/x-javascript" src="introWiz.js"/>
  28.   <script type="application/x-javascript" src="ybMenus.js"/>
  29.   <script type="application/x-javascript" src="yDebug.js"/>
  30.   
  31.   <stringbundleset>
  32.     <stringbundle id="yb-wizard-strings" src="chrome://ybookmarks/locale/introWiz.properties"/>
  33.   </stringbundleset>
  34.  
  35. <!-- blank page needed because the wizard automatically loads up the first page without even running yb_initWizard()! -->
  36.     <wizardpage id="yb-wiz-blank" pageid="yb-wiz-blank"/>
  37.  
  38. <!-- Intro -->  
  39.     <wizardpage id="yb-wiz-intro" pageid="yb-wiz-intro" label="&yb.wizard.intro;" onpageshow="yb_updateWizIntroPage();"  next="yb-wiz-welcome">
  40.     <vbox flex="1">
  41.         <description id="yb-wiz-intro-desc">&yb.wizard.intro.desc;</description>
  42.         <spacer flex="1"/>
  43.         <hbox>
  44.             <description>&yb.wizard.intro.getstarted;</description> 
  45.             <spacer flex="1"/>
  46.             <label id="yb-wiz-welcome-terms" class="text-link no-margin" value="&yb.wizard.intro.terms;"/>
  47.         </hbox>
  48.         </vbox>
  49.   </wizardpage>
  50.  
  51. <!-- Welcome -->
  52.   <wizardpage id="yb-wiz-welcome" pageid="yb-wiz-welcome" label="&yb.wizard.welcome;" onpageshow="yb_updateWizWelcomePage();" next="yb-wiz-setup" onpagerewound="yb_rewindWizWelcomePage();">
  53.           <description>&yb.wizard.welcome.desc;</description>
  54.             <spacer class="paragraph"/>
  55.             <vbox id="yb-wiz-welcome-not-logged-in" hidden="true">
  56.             <description id="yb-wiz-welcome-login" class="text-link" value="&yb.wizard.welcome.login;"/>
  57.                 <spacer class="choice"/>
  58.                 <description>&yb.wizard.or;</description>
  59.                 <spacer class="choice"/>
  60.                 <description id="yb-wiz-welcome-create-account" class="text-link" value="&yb.wizard.welcome.create.account;"/>
  61.             </vbox>
  62.             <vbox id="yb-wiz-welcome-logged-in" hidden="true">
  63.             <description>&yb.wizard.welcome.logged.in.as; <label id="yb-wiz-welcome-current-user" class="username no-margin"/> &yb.wizard.welcome.logged.in.on; <label id="yb-wiz-welcome-login-another" class="text-link no-margin" value="&yb.wizard.welcome.login.another;"/>.</description>
  64.                     <spacer class="choice"/>
  65.                     <description>&yb.wizard.or;</description>
  66.                     <spacer class="choice"/>
  67.             <label id="yb-wiz-welcome-create-account-another" class="text-link no-margin" value="&yb.wizard.welcome.create.account;"/>
  68.         <!--         <spacer class="choice"/> -->
  69.                     <!-- begin DWZ (de-whitespaced zone): 
  70.                                     please don't add any whitespace (including \n) in-between the elements within yb-wiz-continue.
  71.                                     It would introduce extraneous TextNodes which will break the check in yb_wizUpdateWelcomePage(). -->
  72.             <!--     <description id="yb-wiz-welcome-continue"><label id="yb-wiz-welcome-create-account-another" class="text-link no-margin" value="&yb.wizard.welcome.create.account;"/></description> -->
  73.                     <!-- end DWZ -->
  74.             </vbox>
  75.   </wizardpage>
  76.  
  77. <!-- Import? -->
  78.   <wizardpage id="yb-wiz-setup" pageid="yb-wiz-setup" label="&yb.wizard.setup;" 
  79.               onpageshow="yb_updateWizBasicSetupPage();" flex="0" 
  80.               onpageadvanced="yb_checkImportChoice();" next="yb-setup-done">
  81.       <description id="yb-wiz-setup-import-desc"/>
  82.         <spacer class="choice"/>
  83.  
  84.       <radiogroup id="yb-wiz-setup-import-radiogroup">
  85.         <radio id="yb-wiz-setup-import-yes" value="1"/>
  86.               <radio id="yb-wiz-setup-import-no" value="0" selected="true"/>
  87.       </radiogroup>
  88.             <spacer class="paragraph"/>
  89.  
  90.     <description>&yb.wizard.setup.note;</description>
  91.   </wizardpage>
  92.  
  93. <!-- Import Options -->
  94.   <wizardpage id="yb-wiz-setup-advance" pageid="yb-wiz-setup-advance" label="&yb.wizard.setup.advance;" onpageshow="yb_updateWizAdvanceSetupPage();" onpagerewound="yb_rewindWizAdvanceSetupPage();" next="yb-wiz-importing">
  95.     <radiogroup id="yb-wiz-setup-import-type-radiogroup" oncommand="yb_importTypeSelected(event);">
  96.       <radio id="yb-wiz-setup-import-type-easy" label="&yb.wizard.setup.advance.easy; (&yb.wizard.setup.advance.easy.details;)." value="0" selected="true"/>
  97.             <spacer class="choice"/>
  98.       <radio id="yb-wiz-setup-import-type-custom" label="&yb.wizard.setup.advance.custom; (&yb.wizard.setup.advance.custom.details;)." value="1" />
  99.     </radiogroup>
  100.  
  101.  
  102.       <hbox>
  103.                 <spacer class="radio-indent"/>
  104.                 <importoptions id="yb-wiz-setup-advance-import-options" hidden="true"/>
  105.             </hbox> 
  106.   </wizardpage>
  107.  
  108. <!-- Importing! -->
  109.       <wizardpage id="yb-wiz-importing" pageid="yb-wiz-importing" label="&yb.wizard.importing;" onpageshow="yb_updateWizImportingPage();" next="yb-wiz-done" onpagehide="yb_hideWizImportingPage();">
  110.             <description>&yb.wizard.importing.desc;</description>
  111.             <spacer class="paragraph"/>
  112.             <description id="yb-wiz-importing-click"/>
  113.             
  114.       </wizardpage>
  115.  
  116.  
  117. <!-- Last Page -->
  118.   <wizardpage id="yb-wiz-done" pageid="yb-wiz-done" label="&yb.wizard.done;" onpageshow="yb_updateWizDonePage();">
  119.     <description>&yb.wizard.done.desc;</description>
  120.     <spacer height="choice"/>
  121.         <vbox id="yb-wiz-done-tips">
  122.           <label class="indent">
  123.             <image id="yb-wiz-done-del-web"/> &yb.wizard.done.del.web;</label>
  124.           <spacer height="choice"/>
  125.             <label class="indent"><image id="yb-wiz-done-sidebar"/> &yb.wizard.done.sidebar;</label>
  126.           <spacer height="choice"/>
  127.           <label class="indent"><image id="yb-wiz-done-tag"/> &yb.wizard.done.tag;</label>          
  128.           <spacer height="choice"/>
  129.         </vbox>
  130.         <spacer class="paragraph"/>
  131.         <description><image id="yb-wiz-done-tour-img"/>&yb.wizard.done.tour;</description>
  132.     </wizardpage>
  133.  
  134.  
  135. </wizard>
  136.  
  137.